package 泛型

class GenericDemo02 {
  def main(args: Array[String]): Unit = {

  }
}

//泛型写法
class SeasonEnum extends Enumeration {
  type SeasonEnum = Value
  val spring, autumn, summer, winter = Value
}